import 'package:json_annotation/json_annotation.dart';
part 'home_tab_model.g.dart';

@JsonSerializable()
class HomeTabModel {
  final String name;
  final String value;
  final num sort;
  final String memo;

  const HomeTabModel(this.name, this.value,this.sort,this.memo);

  factory HomeTabModel.fromJson(Map<String, dynamic> json) =>
      _$HomeTabModelFromJson(json);

  Map<String, dynamic> toJson() => _$HomeTabModelToJson(this);
}